package com.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * WlBlock entity. @author MyEclipse Persistence Tools
 */

public class WlBlock implements java.io.Serializable {

	// Fields

	private Integer blockid;
	private WlStation wlStation;
	private WlEmp wlEmp;
	private String blockname;
	private String blockstate;
	private Set wlJiedaos = new HashSet(0);

	// Constructors

	/** default constructor */
	public WlBlock() {
	}

	/** full constructor */
	public WlBlock(WlStation wlStation, WlEmp wlEmp, String blockname,
			String blockstate, Set wlJiedaos) {
		this.wlStation = wlStation;
		this.wlEmp = wlEmp;
		this.blockname = blockname;
		this.blockstate = blockstate;
		this.wlJiedaos = wlJiedaos;
	}

	// Property accessors

	public Integer getBlockid() {
		return this.blockid;
	}

	public void setBlockid(Integer blockid) {
		this.blockid = blockid;
	}

	public WlStation getWlStation() {
		return this.wlStation;
	}

	public void setWlStation(WlStation wlStation) {
		this.wlStation = wlStation;
	}

	public WlEmp getWlEmp() {
		return this.wlEmp;
	}

	public void setWlEmp(WlEmp wlEmp) {
		this.wlEmp = wlEmp;
	}

	public String getBlockname() {
		return this.blockname;
	}

	public void setBlockname(String blockname) {
		this.blockname = blockname;
	}

	public String getBlockstate() {
		return this.blockstate;
	}

	public void setBlockstate(String blockstate) {
		this.blockstate = blockstate;
	}

	public Set getWlJiedaos() {
		return this.wlJiedaos;
	}

	public void setWlJiedaos(Set wlJiedaos) {
		this.wlJiedaos = wlJiedaos;
	}

}